package com.cgwx.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

public enum MachiningDependsType implements InfoEnum{
    BLUEPRINT("BLUEPRINT","技术图纸"),
    DEMAND("DEMAND","技术需求"),
    ;

    private String code;

    @JsonValue
    private String info;

    MachiningDependsType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    @Override
    public String getSelfCode() {
        return this.code;
    }

    @Override
    public String getSelfInfo() {
        return this.info;
    }
}
